package com.example.demo.service;

import com.example.demo.common.pageResult;
import com.example.demo.entiy.Employee;
import jakarta.servlet.http.HttpServletRequest;

public interface Employeeservice {


    Employee login(String userName,String possWord);
    public String logout(HttpServletRequest request);


    void save(HttpServletRequest request, Employee employee);

    boolean getUsername(String username);

    pageResult<Employee> pageInfo(int page, int pageSize, String name);

    int charageStatus(Employee employee, Long empId);

    Employee getUser(Long id);
}
